@import '../../styles/theme.less';

.chatwrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.chatContainer {
    box-sizing: border-box;
    // margin: 1rem;
    margin: 1vh;
    // margin-right: 2rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0px 8px 26px 0px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    position: relative;
}

.wrap {
    flex-wrap: wrap;
    .chatContainer {
        flex: 1 0 0.6;
        min-height: 45%;
    }
}

.no-wrap {
    .chatContainer {
        // width: 100%;
        min-width: 10%;
        // height: 100%;
    }
}

.chat-box-wrap {
    width: 100%;
    height: 100%;
}

.pause::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.12);
    z-index: 999;
}

.banner {
    display: flex;
    // width: 796px;
    padding: 4px 24px;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px 4px 0px 0px;
    background: @primary;
}

.main {
    display: flex;
    position: relative;
    // flex: 1;
    // width: 796px;
    width: 100%;
    height: 90%;
    // height: cal(80vh - 55px);
    // padding-top: 12px;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    flex-grow: 1;
    color: #fff;
    text-align: justify;
    font-feature-settings:
        'clig' off,
        'liga' off;
    font-family: PingFang SC;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
}
